package com.gpframework.module.order.domain.vo;

import com.gpframework.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName GpOrderFlowVo
 * @Author gpframework
 * @Date 2023-06-16
 * @Version 1.0.0
 * @Description 时效报表Vo对象
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class OrderQuantityVo {
    private static final long serialVersionUID = 1L;

    /** 用户id */
    @ApiModelProperty("用户id")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "姓名", sort = 10)
    @ApiModelProperty("用户名称")
    private String userName;

    /** 总完成单量 */
    @Excel(name = "总完成单量", sort = 30)
    @ApiModelProperty("总完成单量")
    private Long totalCompleteOrderNum;

    /** 出勤天数 */
    @Excel(name = "出勤天数", sort = 40)
    @ApiModelProperty("出勤天数")
    private BigDecimal attendanceDays;

    /** 平均每天/单 */
    @Excel(name = "平均每天/单", sort = 50)
    @ApiModelProperty("平均每天/单")
    private BigDecimal dailyCompletedOrdersAvg;

    /** 平均每天/单 */
    @ApiModelProperty("平均每天/单")
    private List<OrderQuantityDayVo> orderQuantityDayList;

}
